using System;
using System.Collections.Generic;
using System.Text;
using System.IO;
using CommunityServer.Components;

namespace CommunityServerStuff.Utilities
{

    internal class EncodedStringWriter : StringWriter
    {
        private Encoding _encoding;

        internal EncodedStringWriter(StringBuilder sb, Encoding encoding) : base(sb)
        {
            _encoding = encoding;
        }

        public override Encoding Encoding
        {
            get
            {
                return _encoding;
            }
        }
    }

}

